package StudyCode.summary.mydatetime;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class WeekMonthDayYear {
	public static void main(String[] args) {
		LocalDate localDate = LocalDate.now();
		DateTimeFormatter fmt = DateTimeFormatter.ofPattern("EEEE, MMMM dd, yyyy");
		DateTimeFormatter fmt1 = DateTimeFormatter.ofPattern("EEEE-MMMM-dd-yyyy");
		System.out.println(fmt.format(localDate));
		System.out.println(fmt1.format(localDate));
	}
}
